<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of imgview
 *
 * @author Алексей
 */
class imgesview extends CWidget {
    public $urlprefix='/images/';
    public $models;
    public $filder;
    public $thumb=null;
public $prefixpder='';
    public $classname;
    public $mode='imgs';
    public $width='';
    public $height='';
	public function run()
	{ 
            $this->urlprefix.=$this->classname.'/'.$this->prefixpder;
            	$this->render($this->mode, array(
                    'imgurl'=>$this->urlprefix,
                    'models'=>$this->models,
                    'filder'=>$this->filder,
                    'thumb'=>$this->thumb,
                    'width'=>$this->width,
                    'height'=>$this->height));
        }
}

?>
